package cn.huiyunche.base.service.interfaces.impl;

import cn.huiyunche.base.service.interfaces.ServiceOrderStatusLogService;
import cn.huiyunche.base.service.mappers.SServiceOrderStatusLogMapper;
import cn.huiyunche.base.service.model.SServiceOrderStatusLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceOrderStatusLogServiceImpl implements ServiceOrderStatusLogService {

    @Autowired
    private SServiceOrderStatusLogMapper sServiceOrderStatusLogMapper = null;

    @Override
    public int add(SServiceOrderStatusLog log) {
        return this.getSServiceOrderStatusLogMapper().insertSelective(log);
    }

    private SServiceOrderStatusLogMapper getSServiceOrderStatusLogMapper() {
        return this.sServiceOrderStatusLogMapper;
    }
}
